package com.roc.service.orgmain;

import java.util.List;

import com.roc.bean.AreaBean;
import com.roc.bean.orgMainBean;
import com.roc.pojo.Operators;
import com.roc.service.ServiceException;
/**
 * 区域信息Service
 * @ClassName AreaService
 * @Description: TODO(...)
 * @author JD
 * @date 2017年8月7日下午3:40:20
 *
 */
public interface IOrgMainService {
	/**
	 * 添加机构
	 * @Title: addAreaList
	 * @Description:TODO(...)
	 * @see <p></p>
	 * @param area
	 * @param op
	 *
	 */
	public boolean addOrgList(orgMainBean org,Operators op)throws ServiceException;

	/**
	 * 查询机构
	 * @Title: findByAreaNum
	 * @Description:TODO(...)
	 * @see <p></p>
	 * @param areaNum
	 * @return
	 *
	 */
	public orgMainBean findOrgByCode(String orgCode)throws ServiceException;
	
	/**
	 * 更改机构信息Service
	 * @Title: updateAreaList
	 * @Description:TODO(...)
	 * @see <p></p>
	 * @param area
	 * @param op
	 * @return
	 * @throws ServiceException
	 *
	 */
	public int updateOrgList(orgMainBean org,Operators op)throws ServiceException;
    
	/**
	 * 查询区域
	 * @param op
	 * @return
	 * @throws ServiceException
	 */
	List<AreaBean> queryAreaInf(Operators op) throws ServiceException;

}
